<form id="pagerForm" action="jms/project_build" onsubmit="return navTabSearch(this)" method="post">
    <input type="hidden" name="pageNum" value="${(pager.pageNumber)!}" />
    <input type="hidden" name="numPerPage" value="${(pager.pageSize)!}" />
</form>
<div class="pageHeader">

    <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="jms/project_build" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        <label>站点名称：</label>
                        <input type="text" size="15" name="project.name" value="${(name)!}" />
                    </td>
                    <td>
                        <label>立项：</label>
                        <select name="project.isProject">
                            <option value="">请选择</option>
                            <option value="是" <#if (isProject)?? && isProject=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isProject)?? && isProject=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>考核月份：</label>
                        <select name="project.taskMonth">
                            <option value="">请选择</option>
                            <option value="8" <#if (taskMonth)?? && taskMonth=='8'> selected="selected"</#if>>8月</option>
                            <option value="9" <#if (taskMonth)?? && taskMonth=='9'> selected="selected"</#if>>9月</option>
                            <option value="10" <#if (taskMonth)?? && taskMonth=='10'> selected="selected"</#if>>10月</option>

                        </select>
                    </td>
                    <td>
                        <label>区县：</label>
                        <select name="project.homeCounty">
                            <option value="">请选择</option>
                            <#list homeCountyList as s>
                                <option value="${(s.name)!}" <#if (homeCounty)?? && homeCounty==s.name>selected="selected"</#if>>${(s.name)!}</option>
                            </#list>
                        </select>
                    </td>
                    <td>
                        <label>建设方式：</label>
                        <select name="project.share">
                            <option value="">请选择</option>
                            <option value="共建" <#if (share)?? && share=='共建'> selected="selected"</#if>>共建</option>
                            <option value="共享" <#if (share)?? && share=='共享'> selected="selected"</#if>>共享</option>
                            <option value="独建" <#if (share)?? && share=='独建'> selected="selected"</#if>>独建</option>
                        </select>
                    </td>
                </tr>
                <tr>

                    <td>
                        <label>谈点：</label>
                        <select name="project.isReach">
                            <option value="">请选择</option>
                            <option value="是" <#if (isReach)?? && isReach=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isReach)?? && isReach=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>设计：</label>
                        <select name="project.isDesign">
                            <option value="">请选择</option>
                            <option value="是" <#if (isDesign)?? && isDesign=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isDesign)?? && isDesign=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>开工：</label>
                        <select name="project.isStart">
                            <option value="">请选择</option>
                            <option value="是" <#if (isStart)?? && isStart=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isStart)?? && isStart=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>完工：</label>
                        <select name="project.isComplete">
                            <option value="">请选择</option>
                            <option value="是" <#if (isComplete)?? && isComplete=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isComplete)?? && isComplete=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                    <td>
                        <label>交付：</label>
                        <select name="project.isSubmit">
                            <option value="">请选择</option>
                            <option value="是" <#if (isSubmit)?? && isSubmit=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isSubmit)?? && isSubmit=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>


                </tr>
                <tr>
                    <td>
                        <label>需求负责人：</label>
                        <select name="project.demandOwner" class="combox">
                            <option value="">请选择</option>
                            <#list customerList as s>
                                <option value="${(s.owner)!}" <#if (demandOwner)?? && demandOwner==s.owner> selected="selected"</#if>>${(s.owner)!}</option>
                            </#list>
                        </select>

                    </td>

                    <td>
                        <label>移动需求：</label>
                        <select name="project.isCm">
                            <option value="">请选择</option>
                            <option value="是" <#if (isCm)?? && isCm=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCm)?? && isCm=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>电信需求：</label>
                        <select name="project.isCt">
                            <option value="">请选择</option>
                            <option value="是" <#if (isCt)?? && isCt=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCt)?? && isCt=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                    <td>
                        <label>联通需求：</label>
                        <select name="project.isCu">
                            <option value="">请选择</option>
                            <option value="是" <#if (isCu)?? && isCu=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isCu)?? && isCu=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td>
                        <label>建设归档：</label>
                        <select name="project.isArchive">
                            <option value="">请选择</option>
                            <option value="是" <#if (isArchive)?? && isArchive=='是'> selected="selected"</#if>>是</option>
                            <option value="否" <#if (isArchive)?? && isArchive=='否'> selected="selected"</#if>>否</option>
                        </select>
                    </td>
                  <td>
                      <label>需求批次：</label>
                      <input type="text" size="15" name="project.demandMemo" value="${(demandMemo)!}" />
                  </td>

                    <td>
                        <label>更新时间：</label>
                        <input type="text" size="10" name="project.modifyDate" value="${(modifyDate)!}"  class="date" readonly="true"/>

                    </td>
                    <td>
                        <div class="button"><div class="buttonContent"><button type="submit">查询</button></div></div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>

<div class="pageContent" style="padding:0px">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="edit" href="jms/project_build/add?id={sid_obj}" width="860" height="460" target="dialog" mask="true"><span>工程进度更新</span></a></li>

            <!-- <li><a class="delete" href="jms/project_build/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>删除</span></a></li>-->
            <li class="line">line</li>
            <li class=""><a class="icon" href="jms/project_build/export" target="dwzExport" targettype="navTab" title="确实要导出这些记录吗?"><span>导出建设进度</span></a></li>
            <li class="line">line</li>
            <!--<li class=""><a class="icon" href="jms/project_build/exportSubmit" target="dwzExport" targettype="navTab" title="确实要导出这些记录吗?"><span>导出验收清单</span></a></li>-->
           <li class="line">line</li>
           <li><a class="delete" href="jms/project_build/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>进度清除</span></a></li>
           <li class="line">line</li>
           <li><a class="add" href="jms/project_build/archive"  target="selectedTodo" rel="ids"  title="确认归档？"><span>建设归档</span></a></li>
           <li class="line">line</li>
           <li><a class="delete" href="jms/project/delete"  target="selectedTodo" rel="ids"  title="确认删除？"><span>项目删除</span></a></li>
            <!--  <li class="line">line</li>
             <li><a class="add" href="jms/project_build/calculate" width="500" height="200" target="dialog" mask="true" title="统计入库"><span>统计入库</span></a></li>-->
           <li class="line">line</li>
            <li class=""><a class="icon" href="jms/project_build/exportAll" target="dwzExport" targettype="navTab" title="确实要导出这些记录吗?"><span>建设进度导出（全部）</span></a></li>
         </ul>
     </div>

     <table class="table" layoutH="195">
         <thead>
         <tr>
             <th width="50" align="center"><input type="checkbox" group="ids" class="checkboxCtrl"/>行号</th>
             <th width="50" align="center">区县</th>
             <th width="160" align="center">站点</th>
             <th width="80" align="center">立项时间</th>
             <th width="80" align="center">项目备注</th>
             <th width="60" align="center">建设方式</th>
             <th width="100" align="center">需求情况</th>
             <th width="30" align="center">谈点</th>
             <th width="30" align="center">立项</th>
             <th width="30" align="center">设计</th>
             <th width="30" align="center">开工</th>
             <th width="30" align="center">完工</th>
             <th width="30" align="center">交付</th>
             <th width="100" align="center">交付时间</th>
             <th width="30" align="center">归档</th>
             <th width="100" align="center">工程进度</th>
             <th width="126" align="center">更新时间</th>
             <th width="100" align="center">存在问题</th>
             <th width="50" align="left">负责人</th>
         </tr>
         </thead>
         <tbody>
         <#list pager.list as project>
             <tr target="sid_obj" rel="${(project.id)!}" ondblclick="migr.baseMoudleDblick(this)">
                 <td align="left"><input name="ids" type="checkbox" value="${(project.id)!}"/> ${project_index + 1}</td>
                 <td align="left">${(project.homeCounty)!}</td>
                 <td align="left">${(project.name)!}</td>
                 <td align="left">${(project.projectDate?string("yyyy-MM-dd"))!} </td>
                 <td align="left">${(project.memo)!} </td>
                 <td align="left">${(project.share)!} </td>
                 <td align="left"><#if (project.isCm)! == '是'>移动</#if><#if (project.isCt)! == '是'>电信</#if><#if (project.isCu)! == '是'>联通</#if></td>
                 <td align="left"><#if (project.isReach)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (project.isProject)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (project.isDesign)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (project.isStart)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (project.isComplete)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left"><#if (project.isSubmit)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left">${(project.submitDate?string("yyyy-MM-dd"))!} </td>
                 <td align="left"><#if (project.isArchive)! == '是'> 是  <#else> 否 </#if> </td>
                 <td align="left">${(project.modifyMemo)!} </td>
                 <td align="left">${(project.modifyDate)!} </td>
                 <td align="left">${(project.buildMemo)!} </td>
                 <td align="left">${(project.projectOwner)!} </td>
             </tr>
         </#list>
         </tbody>
     </table>

     <div class="panelBar">
         <div class="pages">
             <span>显示</span>
             <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                 <option value="20" <#if pager.pageSize == 20> selected</#if>>20</option>
                 <option value="50" <#if pager.pageSize == 50> selected</#if>>50</option>
                 <option value="100"<#if pager.pageSize == 100> selected</#if>>100</option>
                 <option value="200"<#if pager.pageSize == 200> selected</#if>>200</option>
             </select>
             <span>条，共<font style="color:red;font-weight:bold;">${pager.totalRow!}</font>条，共<font style="color:red;font-weight:bold;">${pager.totalPage!}</font>页&nbsp;&nbsp;&nbsp;&nbsp;</span>
         </div>
         <div class="pagination" targetType="navTab" totalCount="${pager.totalRow!}" numPerPage="${pager.pageSize!}" pageNumShown="10" currentPage="${pager.pageNumber!}"></div>
     </div>


  </div>

